package com.zozo.guanli.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * 
 * <p>
 * Description: 
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2014-3-10 上午9:56:45          wangyazhou        1.0         To create
 * </p>
 *
 * @since 
 * @see
 */
@Aspect
public class BeforeAdviceTest {
    // 匹配 com.wicresoft.app.service.impl 包下所有类的所有方法作为切入点  
    @Before("execution(* *.list(..))")
    public void authorith() {
        System.out.println("模拟进行权限检查。");
    }
}
